package com.jfinal.code.eclipse.plugin.generator.dto;

/**
 * JFinal 代码生成策略所填字段的DTO
 * @author yaolin
 */
public class JFinalValueDTO {
	
	private String codePath; // 生成代码保存的路径（maven项目一般是project/src/main/java）
	private String tablePrefix; // 表前缀，多个用","分隔
	private String baseModelPackageName; // baseModel的包名
	private String modelPackageName; // model的包名
	private boolean genDaoInModel; // 是否在model生成dao
	private boolean genDict; // 是否生成字典文件
	private boolean sqlServerFixError; // SQLServer生成代码会出错
	
	public String getCodePath() {
		return codePath;
	}

	public void setCodePath(String codePath) {
		this.codePath = codePath;
	}

	public String getTablePrefix() {
		return tablePrefix;
	}

	public void setTablePrefix(String tablePrefix) {
		this.tablePrefix = tablePrefix;
	}

	public String getBaseModelPackageName() {
		return baseModelPackageName;
	}

	public void setBaseModelPackageName(String baseModelPackageName) {
		this.baseModelPackageName = baseModelPackageName;
	}

	public String getModelPackageName() {
		return modelPackageName;
	}

	public void setModelPackageName(String modelPackageName) {
		this.modelPackageName = modelPackageName;
	}

	public boolean isGenDaoInModel() {
		return genDaoInModel;
	}

	public void setGenDaoInModel(boolean genDaoInModel) {
		this.genDaoInModel = genDaoInModel;
	}

	public boolean isGenDict() {
		return genDict;
	}

	public void setGenDict(boolean genDict) {
		this.genDict = genDict;
	}

	public boolean isSqlServerFixError() {
		return sqlServerFixError;
	}

	public void setSqlServerFixError(boolean sqlServerFixError) {
		this.sqlServerFixError = sqlServerFixError;
	}
}